<div id="header">
  <div id="navbar">
    <div class="layout fn-clear">
      <ul id="nav" class="ui-nav">
         <li <eq name="list_id" value="">class="nav-item  current"</eq> class="nav-item " id="nav-home"><a class="nav-link" target="_self" href="{$root}"><i class="ui-icon home-nav"></i></a></li>
 <li class="nav-item drop-down " id="nav-tv"><a class="nav-link drop-title" target="_self" href="{:getlistname(2,'list_url')}"><i class="ui-icon tv-nav"></i>{:getlistname(2,'list_name')} </a>
          <div class="drop-box">
            <ul class="ui-catalog">
                        <php>$vod_type=M('list')->where(array('list_pid'=>2))->select()</php>
            <fflist name="vod_type" id="ppvodson">
			<li><a href="{:getlistname($ppvodson['list_id'],'list_url')}">{$ppvodson.list_name|msubstr=0,2}</a></li>
            </fflist>
            </ul>
          </div>
        </li>
<li class="nav-item drop-down" id="nav-movie"><a class="nav-link drop-title" target="_self" href="{:getlistname(1,'list_url')}"><i class="ui-icon movie-nav"></i>{:getlistname(1,'list_name')} </a>
          <div class="drop-box">
            <ul class="ui-catalog">
                        <php>$vod_type_y=M('list')->where(array('list_pid'=>1))->select()</php>
            <fflist name="vod_type_y" id="ppvodsonb">
			<li><a href="{:getlistname($ppvodsonb['list_id'],'list_url')}">{$ppvodsonb.list_name|msubstr=0,2}</a></li>
            </fflist>
            </ul>
          </div>
        </li> 
 <li class="nav-item drop-down " id="nav-cartoon""><a class="nav-link drop-title" target="_self" href="{:getlistname(3,'list_url')}"><i class="ui-icon cartoon"-nav"></i>{:getlistname(3,'list_name')} </a>
           <div class="drop-box">
            <ul class="ui-catalog">
        <php>$catlist = D('Mcat')->list_cat(3);</php>
            <volist name="catlist" id="vo"><li><a href="{$root}vod-type-id-3-mcid-{$vo.m_cid}.html">{$vo.m_name}</a></li></volist>  
            </ul>
          </div>
        </li>      
 <li class="nav-item drop-down " id="nav-fun"><a class="nav-link drop-title" target="_self" href="{:getlistname(4,'list_url')}"><i class="ui-icon fun-nav"></i>{:getlistname(4,'list_name')} </a>
           <div class="drop-box">
            <ul class="ui-catalog">
        <php>$catlist = D('Mcat')->list_cat(4);</php>
            <volist name="catlist" id="vo"><li><a href="{$root}vod-type-id-4-mcid-{$vo.m_cid}.html">{$vo.m_name}</a></li></volist>  
            </ul>
          </div>
        </li>       
   <li class="nav-item drop-down " id="nav-wei"><a class="nav-link drop-title" target="_self" href="{:getlistname(35,'list_url')}"><i class="ui-icon wei-nav"></i>{:getlistname(35,'list_name')} </a>
          <div class="drop-box">
            <ul class="ui-catalog">
        <php>$catlist = D('Mcat')->list_cat(35);</php>
            <volist name="catlist" id="vo"><li><a href="{$root}vod-type-id-35-mcid-{$vo.m_cid}.html">{$vo.m_name}</a></li></volist>  
            </ul>
          </div>
        </li>
<li class="nav-item " id="nav-live"><a class="nav-link" target="_self" href="{:ff_mytpl_url('my_live.html')}"><i class="ui-icon live-nav"></i>电视直播</a></li> 
<li class="nav-item <if condition="strchr(__SELF__,'/like/')">current</if>" id="nav-ks"><a class="nav-link" target="_self" href="/like/"><i class="ui-icon ks-nav"></i>口水</a></li>
         </ul>
      <!-- // nav end -->
      <ul id="sign" class="ui-nav">
        <li class="nav-item drop-down" id="nav-looked"><a class="nav-link drop-title" target="_self"><i class="ui-icon looked-nav"></i>播放记录 </a>
          <div class="drop-box">
            <div class="looked-list">
              <p><a class="close-his" target="_self" href="javascript:;">关闭</a><a href="javascript:;" id="emptybt" data="1" target="_self">清空全部播放记录</a></p>
					<ul class="highlight" id="playhistory">
					</ul>
              <div class="his-todo" id="morelog" style="display:none;"></div>
              <div class="his-todo" id="his-todo"><a target="_blank" class="show-login-dialog" href="user-login">登录</a>后将能永久保存播放记录<em>|</em><a target="_blank"  href="user-reg">免费注册</a></div>
            </div>
            <script type="text/javascript">PlayHistoryObj.viewPlayHistory('playhistory');</script>
            <!-- // looked-list end -->
          </div>
        </li>
      </ul>
      <!-- // sign end -->
    </div>
  </div>
  <!-- // navbar end -->
  <div id="subnav">
    <div class="layout fn-clear">
      <div class="subnav-tv fn-left"><strong class="tv">电视剧：</strong><php>$array_listid = getlistarr(2);</php><volist name="array_listid" id="ff_listid" offset="0" length='7'><gt name="key" value="0"><em>|</em></gt><a href="{:getlistname($ff_listid,'list_url')}">{:getlistname($ff_listid)}</a></volist></div>
      <div class="subnav-movie fn-right"><strong class="movie">电影：</strong><php>$array_listidd = getlistarr(1);</php><volist name="array_listidd" id="ff_listid" offset="0" length='7'><gt name="key" value="0"><em>|</em></gt><a href="{:getlistname($ff_listid,'list_url')}">{:getlistname($ff_listid)}</a></volist></div>

    </div>
  </div>
  <!-- // subnav end -->
  <div id="headbar">
    <div class="layout fn-clear">
      <div id="logo"><a href="{$root}"><img src="{$root}static/images/logo.png" alt="{$sitename}" /></a></div>
      <!-- // logo end -->
<div id="searchbar"><div class="ui-search">
<form id="search" name="search"  method="POST" action="{$siteurl}search" onSubmit="return qrsearch();">
<input type="text" id="wd" name="wd" class="search-input" value="请在此处输入影片片名或演员名称。" onfocus="if(this.value=='请在此处输入影片片名或演员名称。'){this.value='';}" onblur="if(this.value==''){this.value='请在此处输入影片片名或演员名称。';};" />
<input type="submit" id="searchbutton"  class="search-button" value="" /></form>
</div><!-- // search end -->
        <div class="hotkeys"> {$hotkey}</div>
        <!-- // hotkeys end -->
      </div>
      <!-- // searchbar end -->
      <ul id="tbmov-plus">
        <li><a id="new" href="{:ff_mytpl_url('my_new.html')}"><i class="ui-icon new-icon"></i>最近<br />
          更新</a></li>
        <li><a href="{:ff_mytpl_url('my_top.html')}"><i class="ui-icon top-icon"></i>影片<br />
          排行</a></li>
        <li><a href="/faq/"><i class="ui-icon help-icon"></i>会员<br />
          帮助</a></li>
        <li><a href="{$url_guestbook}"><i class="ui-icon gb-icon"></i>留言<br />
          反馈</a></li>
        <li><a target="_self" id="a-clo" href="javascript:window.external.addFavorite(document.location.href,document.title)"><i class="ui-icon fav-icon"></i>收藏<br />本站</a></li>
      </ul>
      <!-- tbmov-plus end -->
    </div>
    <!-- // layout end -->
  </div>
  <!-- // headbar end -->
</div>
<!-- // header end -->